package com.ruoyi.rsikManage.domain.vo;

import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;
@Data
@AllArgsConstructor
@NoArgsConstructor
public class HistogramVo implements Comparable<HistogramVo>{
    private String X_axis;
    private String X_axis_DictValue;
    private Integer Y_axis;
    @Override
    public int compareTo(HistogramVo histogramVo) {
     return histogramVo.Y_axis -  this.Y_axis;
    }
}
